package com.ostrich.demomvvm.ui.banner

import androidx.lifecycle.LiveData
import com.ostrich.demomvvm.mvvm.BaseRepository
import com.ostrich.demomvvm.net.BaseResponse

/**
 * @Author : yaotianxue
 * @Time : On 2023/10/18 16:28
 * @Description : UserRepository
 */
class BannerRepository:BaseRepository() {
    //网络数据仓库
    private val bannerApi:BannerApi = createService(BannerApi::class.java)

    fun banner(): LiveData<BaseResponse<MutableList<BannerEntity>>>{
        return bannerApi.banner()
    }


}